package com.tcs.test.single.singletions;

/**
 *  静态内部类
 */
public class Singletion6 {

    private Singletion6() {
        System.out.println(" 静态内部类 ");
    }

    private static class SingletionStatic {
        private static Singletion6 singletion = new Singletion6();
    }

    public static Singletion6 getSingletion1() {
        return SingletionStatic.singletion;
    }
}
